﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public class ThuocBUS
    {
        public static DataTable LayDanhSachThuoc()
        {
            return ThuocDAO.LayDanhSachThuoc();
        }

        public static void ThemThuoc(ThuocDTO obj)
        {
            ThuocDAO.ThemThuoc(obj);
        }

        public static void XoaThuoc(int maThuoc)
        {
            ThuocDAO.XoaThuoc(maThuoc);
        }

        public static void SuaThuoc(ThuocDTO obj)
        {
            ThuocDAO.SuaThuoc(obj);
        }

        public static ThuocDTO LayThongTinThuocTheoThuoc(int maThuoc)
        {
            return ThuocDAO.LayThongTinThuocTheoMaThuoc(maThuoc);
        }
    }
}
